//
//  CLLStatusToolBar.swift
//  CLWeiNo
//
//  Created by DDC on 2017/10/16.
//  Copyright © 2017年 DDC. All rights reserved.
//

import UIKit

class CLLStatusToolBar: UIView {
    
    var listModel:CLLStatusViewModel? {
        didSet {
            
            // 设置标题显示数据
//            likeButton.setTitle(listModel?.status.attitudes_count.description, for: .normal)
//            retweetButton.setTitle(listModel?.status.reposts_count.description, for: .normal)
//            commentButton.setTitle(listModel?.status.comments_count.description, for: .normal)
            likeButton.setTitle(listModel?.likeStr, for: [])
            commentButton.setTitle(listModel?.commentStr, for: [])
            retweetButton.setTitle(listModel?.retweetStr, for: [])
        }
    }

    /// 点赞按钮
    @IBOutlet weak var likeButton: UIButton!
    
    /// 转发按钮
    @IBOutlet weak var retweetButton: UIButton!
    
    /// 评论按钮
    @IBOutlet weak var commentButton: UIButton!

}
